﻿using System;
using System.Collections.Generic;
using Account = BotonJXC.Entity.Account;

namespace BotonJXC.DAO
{
    public class AccountDAO : NHibernateDao<Account, int>
    {
        public Account GetByUsername(string username)
        {
            return FindUniqueBy("Username", username);
        }
    }
}
